package com.unionServer.unpack;

/**
 * @description:
 * @author: wangxinal
 * @time: 2022/1/13 15:21
 */
public interface IVarLengthEncoder {
    String AF_COMPRESS = "afterCompress";
    String BF_COMPRESS = "beforeCompress";

    String getPolicy();

    byte[] encodeLength(int var1, int var2);

    int decodeLength(byte[] var1);

    String getFieldLengthType();

    void setFieldLengthType(String var1);
}
